import path from 'node:path'
import { createDefineMock } from 'vite-plugin-mock-dev-server'

export const mockData = createDefineMock((mock) => {
  const mockUrl = import.meta.env.VITE_HTTP_BASE_URL
  mock.url = path.join(mockUrl, mock.url)
})
